@mixin commonPadding {
  padding-left: 14px;
}

@mixin lineClamp($lines) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $lines;
  -webkit-box-orient: vertical;
}

.home-search {
  width: 291px;
  height: 40px;
  background: #000
}

.home-title {
  @include commonPadding();
  width: 334px;
  height: 41px;
  color: #000;
  font-size: 28px;
  font-weight: bold;
  margin: 28px 0 4px 0;
}

.home-recommended-swiper {
  width: 100vw;
  height: 546px;
}

.home-recommended-item {
  width: 328px;
  height: 516px;
  border-radius: 18px;
  transition: transform 0.3s ease;
  // margin: 0 auto;
  margin-left: 14px;
  position: relative;
}



.home-recommended-item.active {
  position: absolute;
  transform: scale(1);
}

.home-recommended-item:not(.active) {
  transform: scale(0.9);
}

.home-recommended-item-coord {
  position: absolute;
  left: 17px;
  top: 18px;
  font-weight: bold;
}

.home-recommended-item-title {
  width: 296px;
  position: absolute;
  left: 19px;
  bottom: 99px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  @include lineClamp(2);
}

.home-recommended-item-price {
  position: absolute;
  left: 19px;
  bottom: 67px;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  line-height: 26px;
}

.home-recommended-item-rate {
  position: absolute;
  left: 19px;
  bottom: 67px;
}

.home-recommended-item-img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  box-shadow:
    5px 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.home-recommended-swiper-item-container {
  overflow: inherit !important;
  display: flex;
  justify-content: start;
  align-items: center;
}


// 城市景点
.home-city-attractions-title {
  @include commonPadding();
  height: 33px;
  font-size: 26px;
  font-weight: bold;
  color: #000;
  line-height: 33px;
  margin: 20px 0 14px 0;
}

.home-city-attractions-title-img {
  width: 33px;
  height: 33px;
  // margin-right: 10px;
}

.home-city-attractions-title-text {}

.home-city-attractions {
  margin-left: 14px;
}

.home-city-attractions-scroll {
  width: 100vw;
}

.home-city-attractions-box {
  // @include commonPadding;
  display: flex;
  // justify-content: space-evenly;
}

.home-city-attractions-item {
  margin: 0 0 14px 16px !important;
}

.home-city-attractions-item-img {
  border-radius: 8px;
}

.home-city-attractions-item-title {
  font-size: 17px;
  font-weight: 500;
  color: #1E2432;
  @include lineClamp(1);
}

.home-city-attractions-item-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: #c2c4ca;
  @include lineClamp(1);
}